import request from '@/utils/request'

// 查询团队签约奖励列表
export function listTeamsigningrewards(query) {
  return request({
    url: '/configuration/teamsigningrewards/list',
    method: 'get',
    params: query
  })
}

// 查询团队签约奖励详细
export function getTeamsigningrewards(id) {
  return request({
    url: '/configuration/teamsigningrewards/' + id,
    method: 'get'
  })
}

// 新增团队签约奖励
export function addTeamsigningrewards(data) {
  return request({
    url: '/configuration/teamsigningrewards',
    method: 'post',
    data: data
  })
}

// 修改团队签约奖励
export function updateTeamsigningrewards(data) {
  return request({
    url: '/configuration/teamsigningrewards',
    method: 'put',
    data: data
  })
}

// 删除团队签约奖励
export function delTeamsigningrewards(id) {
  return request({
    url: '/configuration/teamsigningrewards/' + id,
    method: 'delete'
  })
}
